package com.seu.githubcn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("issue")
@Data
public class Issue {
    @TableId(type = IdType.AUTO)
    private Integer issueId;
    private String issueTitle;
    private String issueContent;
    private Integer repoId;
    private Integer posterId;
    private Boolean isRead;
    private Boolean isPulled;
    private Boolean isClosed;
    private Integer prId;

    @TableField(exist = false)
    private String repoName;
    @TableField(exist = false)
    private String postName;
    @TableField(exist = false)
    private String repoOwnerName;
}
